package cn.itcast.star.graph.core.utils;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MaxKBExcel {
    @ExcelProperty(value = "分段标题（选填）")
    String title;

    @ExcelProperty(value = "分段内容（必填，问题答案，最长不超过4096个字符）")
    @ColumnWidth(value = 150)
    String answer;

    @ExcelProperty(value = "问题（选填，单元格内一行一个）")
    @ColumnWidth(value = 50)
    String question;
}
